/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jmail.window;

import java.util.Vector;
import javax.swing.event.TableModelEvent;
import javax.swing.event.TableModelListener;
import javax.swing.table.DefaultTableModel;

/**
 *
 * @author iflamed
 */
public class DetailModel extends DefaultTableModel {

    public DetailModel(Vector data, Vector name) {
        super(data, name);
    }

    @Override
    public boolean isCellEditable(int row, int column) {
        if (column == 3 || column == 5) {
            return true;
        }
        return false;
    }
}
